package projects.jnurse.ioc.core.reflection;

/**
 * Created by Adil Naji.
 * User: XP-170708
 * Date: 18 nov. 2008
 * Time: 20:50:38
 */
public class ResolverFactory {

    public static Resolver scan(Resolver.Type type) {
        if (type.equals(Resolver.Type.FIELD))
            return new FieldResolver();

        //TODO give a default implementation or throw exception.
        return new FieldResolver();
    }
}
